<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>学生信息管理系统</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <link rel="stylesheet" href="../static/lib/layui/css/layui.css" media="all">
    <!-- 注意：如果你直接复制所有代码到本地，上述css路径需要改成你本地的 -->
</head>
<body>

<ul class="layui-nav layui-bg-green">
    <li class="layui-nav-item layui-this"><a href="/addStudnet">添加学生</a></li>
    <li class="layui-nav-item "><a href="/addLesson" >添加课程</a></li>
    <li class="layui-nav-item "><a href="/addTeacher">添加教师</a></li>
    <li class="layui-nav-item "><a href="/outSys">退出登录</a></li>
</ul>
<div class="layui-form">

</div>
<script src="../static/lib/layui/layui.js" charset="utf-8"></script>
<!-- 注意：如果你直接复制所有代码到本地，上述js路径需要改成你本地的 -->
<script>
    layui.use('element', function () {
        var element = layui.element; //导航的hover效果、二级菜单等功能，需要依赖element模块

        //监听导航点击
        element.on('nav(demo)', function (elem) {
            //console.log(elem)
            layer.msg(elem.text());
        });

        $(document).ready(function () {
            alert("asdas")
        })
    });


</script>

</body>
</html>